import cv2

from android_test import HIKCamera, ImageDetection

if __name__ == '__main__':
    # hik = HIKCamera()
    # hik.open_camera()
    # while True:
    #     frame = hik.get_frame()
    #     if frame is not None:
    #         frame = cv2.resize(frame, (600, 400), interpolation=cv2.INTER_AREA)
    #         result = ImageDetection.assert_black_screen(frame)
    #         print(result)
    #         cv2.imshow('window',frame)
    #     cv2.waitKey(1)
    img_d = ImageDetection()
    input()
    img_d.kill_thread()

